<!DOCTYPE html>
<html>
	<head>
		<base id="base" href="${base}/">
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<link rel="stylesheet" type="text/css" href="styles/css/login.css" />
		<script type="text/javascript" src="styles/easyui/jquery.min.js"></script>
		<link rel="icon" href="styles/favicon.ico" mce_href="styles/favicon.ico" type="image/x-icon" />
		<title>登录</title>
	</head>

<body style="background-color:#3987cf;">
	<div class="main">
		  <div class="login-box">
		  		<form action=""  method="post" id="subform">
					 <div class="input-box">
				        	<#if error?exists && error != ""><p style="border-bottom:1px solid #CCC;font-size:16px;color:red!important">  ${error?default('')} </p></#if>
				        	<p>用户名：<input type="text" name="username"  placeholder="这里输入登录名" class="user"/></p>
				           	<p>
				           		<span style=" padding-right:12px;">密</span>码：
				           		<input type="password" name="password"  placeholder="这里输入密码" class="password" autocomplete="off"/>
				           	</p>
				           	<p>
				           		<input type="checkbox" name="rememberMe" value="true" class="check" title="记住帐号">
				           		<span class="record" style="font-size:12px">记住登录名</span>
				           	</p>
				      	<a href="javascript:;" onclick="document.getElementById('subform').submit();return false"  class="log">登&nbsp;录</a>
				      	<a href="javascript:;" onclick="document.getElementById('subform').reset();return false" class="reset">重&nbsp;置</a>
				     </div>
			     </form>
	      </div>
	      <div class="text">
	      	<p style="font-size:12px">Copyright © 版权所有<br/>技术支持：江苏首创高科信息工程技术有限公司</p>
	      </div>
	</div>
      
<script>
	$(function(){
		 //回车提交事件
		$("body").bind('keyup',function(event) { 
		  	if(event.keyCode==13){ 
			  $(".log").click()
			}   
		});
	})
</script>
</body>

</html>